export default {
	COMPNAME: 'avue-echart-',
	NAME: 'list',
	DEAFNAME: 'item'
};
export const website = window.$website;
export const url = process.env.NODE_ENV === 'web' ? `${window.location.protocol}//${window.location.host}` : website.url;
export const basePrefix = '/blade-visual'; //api默认前缀
export const paramKey = 'param'; //从Saber传递KPI生成传递参数的key
export const tip = {
	消息列表: [
		{
			title: '2023-05-22',
			content: '测试内容1'
		},
		{
			title: '2023-05-23',
			content: '测试内容2'
		},
		{
			title: '2023-05-24',
			content: '测试内容3'
		},
		{
			title: '2023-05-25',
			content: '测试内容4'
		}
	],
	线柱图: {
		xData: ['2022-01-01', '2022-01-20'],
		series: [
			{ name: '应出勤数', data: [5, 3] },
			{ name: '实出勤数', data: [5, 5] },
			{ name: '出勤率', data: [60, 100] }
		]
	},
	饼图: [
		{ name: 'PC', value: 97, url: 'http://www.baidu.com' },
		{ name: 'PC', value: 97, url: 'http://www.baidu.com' }
	],
	基础表格: [
		{ type1: '数据1', type2: '数据1' },
		{ type1: '数据2', type2: '数据2' },
		{ type1: '数据3', type2: '数据3' },
		{ type1: '数据4', type2: '数据4' }
	],
	轮播表格: [
		{ type1: '数据1', type2: '数据1' },
		{ type1: '数据2', type2: '数据2' },
		{ type1: '数据3', type2: '数据3' },
		{ type1: '数据4', type2: '数据4' }
	],
	'选项卡/下拉框': [
		{ label: '选项卡11', value: '1' },
		{ label: '选项卡2', value: '2' }
	],
	文本框: { value: '' },
	输入框: { value: '' },
	环形图: { label: '人数增涨', value: 40, data: 80 },
	象形图: [
		{ name: '苹果', value: 1000879 },
		{ name: '三星', value: 3400879 },
		{ name: '小米', value: 2300879 },
		{ name: 'oppo', value: 5400879 },
		{ name: '大疆', value: 3000 },
		{ name: '抖音', value: 2000 }
	],
	雷达图: {
		indicator: [
			{ name: '销售', max: 6500 },
			{ name: '管理', max: 16000 },
			{ name: '信息技术', max: 30000 },
			{ name: '客服', max: 38000 },
			{ name: '研发', max: 52000 },
			{ name: '市场', max: 25000 }
		],
		series: [
			{
				data: [
					{
						value: [4300, 10000, 28000, 35000, 50000, 19000],
						name: '预算分配（Allocated Budget）'
					},
					{
						value: [5000, 14000, 28000, 31000, 42000, 21000],
						name: '实际开销（Actual Spending）'
					}
				]
			}
		]
	},
	散点图: [
		{
			data: [
				[1, 8.04],
				[2, 6.95]
			]
		},
		{
			data: [
				[1, 4.04],
				[2, 3.95]
			]
		}
	],
	漏斗图: [
		{ value: 335, name: '直接访问' },
		{ value: 310, name: '邮件营销' },
		{ value: 234, name: '联盟广告' }
	],
	矩形图: [
		{ name: '分类 1', value: 560 },
		{ name: '分类 2', value: 500 },
		{ name: '分类 3', value: 150 },
		{ name: '分类 4', value: 140 },
		{ name: '分类 5', value: 115 },
		{ name: '分类 6', value: 95 },
		{ name: '分类 7', value: 90 },
		{ name: '分类 8', value: 75 },
		{ name: '分类 9', value: 98 },
		{ name: '分类 10', value: 60 },
		{ name: '分类 11', value: 45 },
		{ name: '分类 12', value: 40 },
		{ name: '分类 13', value: 40 },
		{ name: '分类 14', value: 35 },
		{ name: '分类 15', value: 40 },
		{ name: '分类 16', value: 40 },
		{ name: '分类 17', value: 40 },
		{ name: '分类 18', value: 30 },
		{ name: '分类 19', value: 28 },
		{ name: '分类 20', value: 16 }
	],
	video: { value: 'http://www.w3school.com.cn/i/movie.ogg' },
	hls: {
		value:
			'https://open.ys7.com/v3/openlive/E10668433_1_1.m3u8?expire=1664027961&id=363444666731335680&t=346b970f0d5cb5d5b5e4734d966275a61fb9efd5038c7a75b7435423c5716908&ev=100'
	},
	容器: { value: '' },
	单选选项卡: { group: ['上海', '北京', '广州', '深圳'], select: '上海' },
	多选选项卡: {
		group: ['复选框 A', '复选框 B', '复选框 C', '复选框 D'],
		select: ['复选框 A', '复选框 B']
	},
	开关: { value: true },
	按钮: { value: 'Button' },
	轮播图: {
		carouselList: [
			{
				type: 'img',
				value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
			},
			{
				type: 'img',
				value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
			},
			{
				type: 'img',
				value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
			},
			{
				type: 'img',
				value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
			}
		]
	},
	翻牌器: { value: [12] },
	水位图: { value: 66 },
	排名轮播表: [
		{ name: '周口', value: 55 },
		{ name: '南阳', value: 120 },
		{ name: '西峡', value: 78 },
		{ name: '驻马店', value: 66 },
		{ name: '新乡', value: 80 },
		{ name: '信阳', value: 45 },
		{ name: '漯河', value: 29 }
	],
	'3D饼图': {
		name: '货物金额',
		data: [
			['香蕉', 8],
			['猕猴桃', 3],
			['桃子', 1],
			['橘子', 6],
			['苹果', 8]
		]
	},
	'3D圆柱图': {
		categories: ['一月', '二月', '三月', '四月', '五月', '六月'],
		data: [{ name: '销售', data: [2, 3, 3, 4, 7, 5] }]
	},
	下钻柱图: {
		firstName: '浏览器品牌',
		firstData: [
			{ name: 'Microsoft', y: 56.33 },
			{ name: 'Chrome', y: 24.03 }
		],
		drilldownData: [
			{
				name: 'Microsoft',
				data: [
					{ name: 'M-1', value: 12 },
					{ name: 'M-2', value: 22 }
				]
			},
			{
				name: 'Chrome',
				data: [
					{ name: 'C-1', value: 12 },
					{ name: 'C-2', value: 52 },
					{ name: 'C-3', value: 42 },
					{ name: 'C-4', value: 92 }
				]
			}
		]
	},
	图片: { value: '/img/img-default.png' },
	'产线工序-走马灯滚动列表': [
		[
			{
				value: 22,
				name: '已过站数',
				routeName: '工序1',
				routeFirstPassYield: 34
			},
			{
				value: 12,
				name: '待过站数',
				routeName: '工序1',
				routeFirstPassYield: 32
			},
			{
				value: 9,
				name: '不良数',
				routeName: '工序1',
				routeFirstPassYield: 32
			}
		]
	]
};
